package com.nineclock.system.config;

import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

@Configuration
@ComponentScan(basePackages = {"com.nineclock.common.swagger","com.nineclock.common.exception","com.nineclock.common.sms","com.nineclock.common.oss"})
@ServletComponentScan(basePackages ="com.nineclock.common.filter")
public class ImportConfig {

    @Bean
    public RestTemplate restTemplate(){
        return new RestTemplate();
    }
}
